package com.letv.core.bean;

/**
 * 付费信息
 * 
 * @author zhuqiao
 *
 */
public class AlbumPayInfoBean implements LetvBaseBean {
    private static final long serialVersionUID = 1L;

    // 鉴权， status=1 或者不存在status时可以播放
    // status=0时表示该视频为付费视频，且url里面传的uid不能播放
    private int status = 0;
    // 鉴权返回的tk
    private String token = "";
    // 剩余观影券数量.
    /**
     * 服务器返回空(-1):肯定不是会员，如果已登录，那么现实"开通会员";如果未登录，"开通会员和登录";
     * </br>
     * 返回0:代表观影券用完了，提示"上pc买..."
     * </br>
     * 返回>0：提示"使用..."
     */
    private int ticketSize = -1;
    // 为用户是否购买过此影片，买过为1,没买过为0
    private int isUserBought = 0;

    /**
     * 是否是封禁用户
     */
    private String isForbidden = "0";

    /**
     * 购买类型
     * */
    private int chargetype;

    /**
     * 购买价格
     * */
    private int chargeflatform;

    /**
     * 服务期限
     * */
    private int validDays;

    public void setToken(String token) {
        this.token = token;
    }

    public String getToken() {
        return token;
    }

    public void setTicketSize(int ticketSize) {
        this.ticketSize = ticketSize;
    }

    public int getTicketSize() {
        return ticketSize;
    }

    public void setIsUserBought(int isUserBought) {
        this.isUserBought = isUserBought;
    }

    public int getIsUserBought() {
        return this.isUserBought;
    }

    public String getIsForbidden() {
        return isForbidden;
    }

    public void setIsForbidden(String isForbidden) {
        this.isForbidden = isForbidden;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }

    /**
     * 0:点播;1:点播且包月;2:包月
     * */
    public int getChargetype() {
        return chargetype;
    }

    public void setChargetype(int chargetype) {
        this.chargetype = chargetype;
    }

    /**
     * 价格,默认为0，表示对应平台无数据(平台:phone,pad)
     * */
    public int getChargeflatform() {
        return chargeflatform;
    }

    public void setChargeflatform(int chargeflatform) {
        this.chargeflatform = chargeflatform;
    }

    /**
     * 服务期限
     * */
    public int getValidDays() {
        return validDays;
    }

    public void setValidDays(int validDays) {
        this.validDays = validDays;
    }
}
